/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.sdkj.dspservice.modules.sys.dao;

import com.sdkj.dspservice.common.base.dao.CrudDao;
import com.sdkj.dspservice.modules.sys.entity.RoleMenu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * 用户——角色DAO接口
 * @author tm
 */
public interface RoleMenuDao extends CrudDao<RoleMenu> {

    @Update({"update sys_role_menu set delete_flag = '1' where role_id = #{roleId}"})
    int deleteByRoleId(@Param("roleId") String roleId);
}
